package com.rj.bd.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.rj.bd.dao.ClassMapper;
import com.rj.bd.entity.Class1;

@Service
public class ClassServiceImpl implements IClassService{

	@Autowired
	public ClassMapper  classMapper;
	
	
	@Override
	public List<Class1> queryAll() {
		return classMapper.queryAll();
	}


	@Override
	public List<Class1> queryById(String cid) {
		return classMapper.queryById(cid);
	}

}
